import DemoComp from './temp.vue';

DemoComp.install = function(Vue) {
    Vue.component('DemoComp', DemoComp)
}

const components = [
    DemoComp
];

const install = function(Vue, opts = {}) {
    components.forEach(component => {
        Vue.component('DemoComp', component)
    })
}
if(typeof window !== 'undefined' && window.Vue) {
    install(window.Vue)
}

export default {
    version: '0.0.1',
    install,
    DemoComp
}